//
//  LMTabBarItem.h
//  LMTabBarControllerKit
//
//  Created by mengmenglu on 6/24/16.
//  Copyright © 2016 Hangzhou TaiXuan Network Technology Co., Ltd. All rights reserved.
//  自定义TabBarItem视图 （titilLabel and UIImage）

#import <UIKit/UIKit.h>
#import "LMTabBarItemModel.h"

/**
 *  主色/默认的iamge
 */
#define  UIColorFromRGB(rgbValue)   [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
#define  TH27A1E5                   UIColorFromRGB(0x27A1E5)


@interface LMTabBarItem : UIButton

@property (nonatomic,strong) LMTabBarItemModel *tabBarItemModel;

- (void)updateItemView;

@end
